
#ifndef _WINSOCKAPI6_
#define _WINSOCKAPI6_

typedef struct in6_addr {
  union {
    UCHAR  Byte[16];
    USHORT Word[8];
  } u;
} IN6_ADDR, *PIN6_ADDR, *LPIN6_ADDR;

typedef struct sockaddr_in6 {
	SHORT		sin6_family;	//  ADDRESS_FAMILY
	USHORT		sin6_port;		// u_short
	ULONG		sin6_flowinfo;
	IN6_ADDR		sin6_addr;
	//union {
		ULONG	sin6_scope_id;
		//SCOPE_ID	sin6_scope_struct;
	//} ;
} SOCKADDR_IN6, *PSOCKADDR_IN6;

#endif  /* _WINSOCKAPI6_ */